1. Modify wildfish. config. XML to configure the data source.Copy A dataaccessproviderModify attributesThis corresponds to iseries
This corresponds to MSSQLServer.(1) name is used to specify a name for an external call.Dataaccess namespace is used to specify which data accessors to use. MSSQLServer uses wildfish. dataaccess. Base. MSSQLIseries uses wildfish. dat
If a key is required for each methodCodeWill be messy.Later, I studied it. It's quite simple to use Castle. Just read other people's demos and copy the code.Because the Framework is a class library, the configuration file of aspectsharp can only be embedded with resources.To be lazy, I saved it directly using a TXT file.Steps:1. Create a configuration file to save the code configuration to be injectedImport wildfish. dataaccess. Base. AOP. interceptor
The beginning of the wildfish framework1. What is the wildfish framework?This is a simplified data access framework based on. net2.0. It supports MSSQLServer Of course, I do not want to say that my framework is omnipotent. The selected database drivers support @ or: To represent parameters.Currently, only sqlserver'sCodeBecause of the lack of Oracle testing environment, Oracle has not started writing.Iserie
In our example, account is a single table operation.
The preceding essays have generated the accountdataset accountdatatable accountentity accountrule accountsystem class.
So I will not repeat it here.
If you do not want to do this, you can download the Demo code directly.
Create a new winform named testsingletable. CS.
And draw the interface as follows.
Here I am lazy and pull accountdataset to the screen as the data source of the screen's gridview.
1. Add on using
Using
1. Create a test project
2. After the project is created, we add an externaldll directory under the solution directory to store the DLL required by the project.Then copy all the DLL files under wildfish/bin/release.Right-click the solution to add-Add the existing projects that add all the DLL files to the solution.
3.Add a reference to The bll project and select fishsky. dll.4.Create a winform project.Add a reference to BLL and a reference to
The function of the data layer is to encapsulate the Data Types of some columns and the relationships between the definitions and tables.1. Dataset EncapsulationAdvantage: DataSet used for crud can be generated by tools. In fact, the encapsulated
1. Create a physical file
Direct operations in strseu or navigator are recommended.
2. Create a primary key for a physical file
Navigator is recommended.
3. Logging physical files
In strjrnpf or in navigator, select the table and log record,
For a long time, I wanted to transform the current underlying layer. You want to dynamically build dataaccess in the form of configuration.It took an hour to think about the problem at night. It was much easier and intuitive to think about the problem with words.I feel that I can clearly find the problem.This is a map created by mindmanager 6.0:/files/wildfish/dataaccess ..rarThis is the generated image. /Files/wi
How to retrieve the rpgle Source
JR Friedman
05 Feb 2004
Rating:-4.08-(out of 5)
It is possible to retrieve source from RPG programs if the program has been compiled with the correct parameters.The following procedure will retrieve the source from single-module rpgle programs compiled with crtbndrc PG with dbgview (* List ).We have changed our command default to this option to allow debugging on our production machine, which does not contain program source. the program
Http://files.cnblogs.com/wildfish/CodeCollector.rar
Because the index file is large, you can use the menu-"Indexing" to search for the file after downloading it.
1. Usage reason
Codelib needs to collect money, so I had to do it myself.
Export all codelib data. Another problem is that codelib cannot save knowledge like word.
It's not illustrated, so I wanted to do it very early.2. Controls used and open-source projects
Devexpress's gridcontro
Because the boss does not allow the use of smart client, you have to download, overwrite, and restart the application.
Program Step 3
First, we need a loader program to guide the main program.
Http://files.cnblogs.com/wildfish/AppUpdateStarter.rar
Second, in the main program
//
Obtains the assembly of the dock system.
//
Case Sensitive
Assembly ASM
=
Assembly. loadfrom (application. startuppath
+
Path. directoryseparatorchar
In the process of stripping, I removed most of the backingstoreimplementations, except all of the instrumentation The current function can only rely on memory for caching. Modifying constants affects cache behavior.However, without relying on the configuration file, you can easily integrate your own framework.Because there was no time to test the migration yesterday Code , So no code is releasedCurrently, only the absoultetime slidingtime neverexpire method is supported. For filedependency, You
There are many features.ProgramReadability is good, and many program styles are worth learning.The most interesting thing is the program remarks. What colors are available, white and red flashing, dazzling .....
Then, IP filtering is added based on your needs.
====================This is a recommended savf upload method.The file in the zip is a AS/400 save file. I like to do it like this:-Unzip the file into a directory on the PC-Start a DOS prompt in that directory-Start a FTP session to yo
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.